namespace Crux.Core.MongoDb;
/// <summary>
/// MongoDbResolver
/// </summary>
public class MongoDbResolver
    : IMongoDbResolver
{
    #region implements IMongoDbResolver
    /// <inheritdoc/>
    public string Resolve<TContext>(
        MongoDbOption<TContext> option
    ) where TContext : IMongoDBContext
    {
        return option.DatabaseName;
    }
    #endregion implements IMongoDbResolver
}